package cn.edu.scau.cmi.limingben.Main;

import javafx.fxml.FXML;
import cn.edu.scau.cmi.limingben.singleton.show_singlegton;
import cn.edu.scau.cmi.limingben.simple_factory.show_simple_factory;
import cn.edu.scau.cmi.limingben.factory.show_factory;
import cn.edu.scau.cmi.limingben.abstract_factory.show_abstract_factory;
import cn.edu.scau.cmi.limingben.adapter.show_adapter;
import cn.edu.scau.cmi.limingben.composite.show_composite;

import java.io.IOException;

public class Controller {
    @FXML
    public void sigleton() throws IOException {
        show_singlegton a = new show_singlegton();
        return;
    }
    @FXML
    public void simple_factory() throws IOException {
        show_simple_factory a = new show_simple_factory();
        return;
    }
    @FXML
    public void factory() throws IOException {
        show_factory a = new show_factory();
        return;
    }
    @FXML
    public void abstract_factory() throws IOException {
        show_abstract_factory a = new show_abstract_factory();
        return;
    }
    @FXML
    public void object_adapter() throws IOException {
        show_adapter a = new show_adapter();
        return;
    }
    @FXML
    public void class_adapter() throws IOException {
        show_adapter a = new show_adapter();
        return;
    }
    @FXML
    public void consistent_composite() throws IOException {
        show_composite a = new show_composite();
        return;
    }
    @FXML
    public void safe_composite() throws IOException {
        show_composite a = new show_composite();
        return;
    }
}
